from django.urls import path
from . import views

urlpatterns = [
    path('', views.home, name='home'),
    path('login/', views.user_login, name='login'),
    path('logout/', views.user_logout, name='logout'),
    path('borrowed/', views.borrowed_books, name='borrowed_books'),
    path('books/', views.book_manage, name='book_manage'),
    path('books/<int:book_id>/', views.book_manage, name='book_manage'),
    path('authors/', views.author_list, name='author_list'),
    path('authors/<int:author_id>/', views.author_detail, name='author_detail'),
]